package com.gmt.stack;

/**
 * @author John.zhang
 * @version Id: StackOverFlow, v 1.0 2020/12/18 18:02 ZhiYong Exp $
 */
public class StackOverFlow {

    public static long count=0;

    public static void method(long i){
        System.out.println(count++);
        method(i);
    }

    public static void main(String[] args) {
        method(1);
    }

}
